home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Stac Reachout 7
/
Stac Reachout 7.iso
/
STACFAX
/
8503.TXT
< prev
next >
Wrap
Text File
|
1997-01-31
|
6KB
|
132 lines
-----------------------------------------------------------------
STAC NOTE STAC NOTE
CONFIGURING REACHOUT TO DIAL & TRANSFER FILES AUTOMATICALLY IN
DOS
(Applies to ReachOut versions 3.x, 4.x, 5.x)
STAC FAX 8503 (07-15-1996)
-----------------------------------------------------------------
BACKGROUND
ReachOut's Remote Access is capable of dialing a host,
transferring a file, and disconnecting automatically. Remote
Control does not have this capability in a DOS session.
NOTE: ReachOut version 5.X has the capability of automating this
procedure through its Remote Control Scripting in Windows.
Use version 5's Scripting capability instead of the method
below because it is easier and more powerful. See the
ReachOut Help in Windows for complete details.
The following is required:
ReachOut Remote Control (Ver 3.0 or higher), ReachOut Remote
Control Pro Edition (Ver 4.0 or higher), or ReachOut Complete
Remote Access (Ver 5.0 or higher).
For unattended transfer, a DOS timer or scheduler to invoke
a batch file.
VIEWER SET-UP:
Note: These instruction are based on ReachOut's DOS menu's and
need to be done at DOS level.
1. Run RASETUP, select [X] Client, in the Go Viewer menu. Do
NOT select Server.
2. Edit the GVM.BAT file. Add the parameter /PHONEBOOK="%1" on
the VIEWMDM line. The line should read:
VIEWMDM /PHONEBOOK="%1"
where <phonebook name> is an existing entry in the Viewers
phone book as the <user name>/<name>.
Note: When you type GVM <user name>/<name>, ReachOut will
automatically dial the Host using the corresponding phone
number.
3. Run GVM, in the Link menu, select ôONCE CONNECTEDö,
highlight EXIT to DOS and press enter. This will allow the
Viewer to connect, and exit to DOS to continue with the
batch file.
4. Exit back to DOS.
5. Create a batch file called AUTODIAL.BAT. (You may use any
file name you desire.) The file may contain lines such as:
CALL GVM <user name>/<name>
XCOPY/Y D:\DIRECTORY\FILE.EXT C:\DIRECTORY\FILE.EXT
XCOPY/Y C:\DIRECTORY\FILE.EXT D:\DIRECTORY\FILE.EXT
VDISC
* The COPY command can be used instead of XCOPY/Y but the
directory must not have an existing file with the same name
that is trying to be copied. The XCOPY/Y command suppresses
prompting to confirm that you want to overwrite an existing
file.
* This part is optional in the autodial.bat but is needed
if going to connect to multiple hosts.
RCHSPX UNLOAD
RACLIENT UNLOAD
VWREXEC UNLOAD
CALL GVM <user name>/<name>
XCOPY/Y D:\DIRECTORY\FILE.EXT C:\DIRECTORY\FILE.EXT
XCOPY/Y C:\DIRECTORY\FILE.EXT D:\DIRECTORY\FILE.EXT
VDISC
The first line, CALL GVM <user name>/<name>, is to start the
GVM.BAT and dial the number associated with this user name.
For example, CALL GVM HOST, would dial the phone number
associated with HOST, in the Viewers phonebook as the user
name, and upon connection issue the associated password. The
next command(s) can be any DOS command. The first xcopy/y
command would copy a file from the Host to the Viewer, the
second would copy a file from the Viewer to the Host. The
final command must be VDISC, which will disconnect the
Viewer, and end that session.
HOST SET-UP:
1. Run RASETUP, select [X] SERVER, in the Go Host menu. Do NOT
select Client.
2. Run Password, add a new <user name>/<Id/Comment>, Password,
and the name of a SERVEUP file. If only a standard serveup
file is required use SERVEUP.
3. Run SERVEUP, select the drive letter as you wish it to
appear on the remote system. If both machines have only C
drives, you may select D. Select the drive and directory you
wish to serve to the remote system. C:\ will give you access
to all drives and directories of the host.
4. Run the file GHM from DOS, and the Host is ready. Other
Hosts may be setup the same.
*When connecting to multiple hosts the <user name>/<Id/Comment>
has to be different for every host and the Viewer phonebook
should specify each <username>/<name>. If a duplicate user
name is used then the automation will fail with an incorrect
password.
OPERATION:
To start the process, simply type the name of the batch file
created above. In this example you would type AUTODIAL <enter>.
The Viewer will dial, connect, issue the password, copy the
file(s), and disconnect.
*This also works on a network connection, so substitute
GHM.BAT, GVM.BAT, and VIEWMDM with GHN.BAT, GVN.BAT, and
VIEWNET respectively.
*<user name> refers to Reachout ver 5.0 or higher
*<name> and <Id/Comment> refers to Reachout ver 3.3 and 4.0
or higher
-----------------------------------------------------------------
Copyright 1996 Stac, Inc.